using System;
using System.Collections.Generic;
using System.Linq;
using TestMonkey.Models;

namespace TestMonkey.Templates
{
	public class Memory : TemplateProcessor
	{
		protected override bool ShouldRun(ModelRoot model)
		{
			if (model == null)
				throw new ArgumentNullException("model", "model is null.");

			return model.Type.IsClass && model.Type.IsCreatable();
		}

	}
}
